Skip to content

Comments

Add new camera FixedView2dTopLeft and add a 2D ray casting example using it.#354

Open
CM-IV wants to merge 5 commits intodimforge:masterfrom
CM-IV:master
Open

Add new camera FixedView2dTopLeft and add a 2D ray casting example using it.#354
CM-IV wants to merge 5 commits intodimforge:masterfrom
CM-IV:master

Conversation

@CM-IV
Copy link

@CM-IV CM-IV commented Jan 11, 2026

This PR adds a new 2D camera FixedView2dTopLeft that implements the Camera2d trait. It makes some assumptions though, see the docs in the code for that.

This PR also adds a 2D Ray Casting demo ported over from C Raylib using the DDA Algorithm. You can use it to implement rendering systems like the old Wolfenstein games.

Screencast_20260111_123523.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant